package com.lx.mobileplayer.mvp.view.Iview

import android.app.Activity
import android.content.Context

/**
 * 类说明：所有view都要实现的接口
 * Created by liuxiong on 2019/4/22.
 */
interface IBaseView  {

    /**
    * 方法说明:  获取当前view所在的activity对象
    * @return
    * created by liuxiong on 14:20
    */
    fun getMContext(): Activity


    /**
    * 方法说明:  获取ApplicationContext
    * @return
    * created by liuxiong on 14:20
    */
    fun getAppContext(): Context
}